export default {
  path: '/news',
  component: () => import(/* webpackChunkName: 'news' */ '@/views/news'),
  redirect: '/news/list',
  children: [
    {
      path: 'list',
      component: resolve => require(['@/views/news/list'], resolve),
      meta: { title: '新闻列表' }
    },
    {
      path: 'view/:id',
      component: resolve => require(['@/views/news/view'], resolve),
      meta: { title: '新闻详情' }
    }
  ]
}
